package com.app.backend.activiti.serviceImpl;

import com.app.backend.activiti.dao.LeaveDao;
import com.app.backend.activiti.entity.biz.Leave;
import com.app.backend.activiti.service.LeaveService;
import com.app.backend.common.base.BaseDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @program: LeaveServiceImpl
 * @description:
 * @author: Zhun.Xiao
 * @create: 2020-03-04 09:18
 **/

@Service
@Transactional
@Slf4j
public class LeaveServiceImpl implements LeaveService {

    @Autowired
    LeaveDao leaveDao;

    @Override
    public BaseDao<Leave, String> getRepository() {
        return leaveDao;
    }
}